package com.kaifamiao.exam.date0723;

public class Factorial {
    public static void main(String[] args) {
        int fac = 1;
        for (int i = 1; i <= 5 ; i++) {
            fac *= i ;
        }
        System.out.println( fac );
    }
}
